﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;

using BusinessEntity.Patient;
using BusinessEntity.Common;
using Common;
using System.Collections.Generic;

[ServiceContract(SessionMode = SessionMode.NotAllowed)]
public interface IProviderService
{
    [OperationContract]
    SortableCollection<PatientVisit> SearchVisits(string sessionId, Patient oSearchPatient, out string successMessage, out string errorMessage);

    [OperationContract]
    SortableCollection<PatientVisit> AddVisit(string sessionId, Patient oPatient, out string successMessage, out string errorMessage);

}
